<template>
  <div class="app-container">
    <el-tabs type="border-card">
      <el-tab-pane label="Tab one">
        <keep-alive>
          <tab-one/>
        </keep-alive>
      </el-tab-pane>
      <el-tab-pane label="Tab tow">
        <tab-two/>
      </el-tab-pane>
      <el-tab-pane label="Tab three">
        Tab three，略，具体内容必须使用模板组件
      </el-tab-pane>
      <el-tab-pane label="Tab four">
        Tab four，略，具体内容必须使用模板组件
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import tabOne from './tabOne'
import tabTwo from './tabTwo'

export default {
  name: 'Tab',
  components: { tabOne, tabTwo }
}
</script>
